package com.qf.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (Hospitalnavigation)实体类
 *
 * @author ZhiHuiJun
 * @since 2024-05-04 01:01:53
 */
public class Hospitalnavigation implements Serializable {
    private static final long serialVersionUID = 537423385401611779L;

    private Integer id;

    private String campus;

    private String address;

    private String phone1;

    private String phone2;

    private String busroutes;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    //  @JsonFormat  1将接收得到的json数据中对应birthday 时间转换 java中Date
    //               2.处理器方法返回json数据时 将java中Date  转换为对应的字符串时间   yyyy-MM-dd
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date operationtime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCampus() {
        return campus;
    }

    public void setCampus(String campus) {
        this.campus = campus;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone1() {
        return phone1;
    }

    public void setPhone1(String phone1) {
        this.phone1 = phone1;
    }

    public String getPhone2() {
        return phone2;
    }

    public void setPhone2(String phone2) {
        this.phone2 = phone2;
    }

    public String getBusroutes() {
        return busroutes;
    }

    public void setBusroutes(String busroutes) {
        this.busroutes = busroutes;
    }

    public Date getOperationtime() {
        return operationtime;
    }

    public void setOperationtime(Date operationtime) {
        this.operationtime = operationtime;
    }

}

